﻿
	<div class="post single">
		<h2><?php echo CHtml::link(CHtml::encode($data->title), $data->url); ?></h2>
		<div class="pmeta">
			作者： <?php echo $data->author->username ; ?>
		</div>
		<div class="content">
			<div class="article">
				<?php
					$this->beginWidget('CMarkdown', array('purifyOutput'=>true));
					echo $data->content;
				?>
				<?php
					$this->endWidget();
				?>
			</div>
			<div class="nav">
				<b>标签:</b>
				<?php echo implode(', ', $data->tagLinks); ?>		<br>
				<?php //echo CHtml::link(CHtml::encode('阅读全文'), $data->url,array('class'=>'permalink')); ?> 
				<?php //echo CHtml::link(CHtml::encode('评论('.$data->commentCount.')'), $data->url.'#comments',array('class'=>'comments')); ?> 
				<?php //echo CHtml::link(CHtml::encode('rss'), $data->url,array('class'=>'rss')); ?> 
				<strong>本文链接:</strong> <?php echo CHtml::link(CHtml::encode($data->title), $data->url); ?><br>
				<strong>版权所有:</strong> <?php echo Yii::app()->params['poweredby']?>, 转载请注明本文出处。
			</div>
			<div class="clear"></div>
		</div>
<!-- 		<div class="page_navi pro_next">
		   <div class="pageleft"><strong>上一篇: </strong><a href="http://www.chenggang.net/posts/119">内存分配 C语言：malloc()函数与alloc()函数</a></div>
		   <div class="pageright"><strong>下一篇: </strong>没有了</div>
		</div> -->
		<div class="snsmedia">
    		<div id="bookmark" class="bookmark">
    			<span class="fl">分享到：</span>
				<!-- JiaThis Button BEGIN -->
				<div class="jiathis_style fl">
					<a class="jiathis_button_qzone"></a>
					<a class="jiathis_button_tsina"></a>
					<a class="jiathis_button_tqq"></a>
					<a class="jiathis_button_renren"></a>
					<a class="jiathis_button_kaixin001"></a>
					<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
					<a class="jiathis_counter_style"></a>
				</div>
				<script type="text/javascript" src="http://v3.jiathis.com/code/jia.js" charset="utf-8"></script>
				<!-- JiaThis Button END -->
    		</div>
    	</div>







